fe0cb5eb02922a6b2154aad1d2dee8ec61401750,src/main/java/com/sun/tools/xjc/addon/xew/CommonUtils.java,CommonUtils,removeAnnotation,#JVar#JAnnotationUse#,123
Before Change
*/
@SuppressWarnings("unchecked")
public static void removeAnnotation(JVar field, JAnnotationUse annotation) {
((List<JAnnotationUse>) getPrivateField(field, "annotations")).remove(annotation);
}
/**
After Change
* Remove the given annotation from the list of annotations.
*/
public static void removeAnnotation(JVar field, JAnnotationUse annotation) {
List<JAnnotationUse> annotations = getPrivateField(field, "annotations");
annotations.remove(annotation);
}